package com.atguigu.paymentdemo.service;

import com.atguigu.paymentdemo.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface OrderInfoService extends IService<OrderInfo> {

     OrderInfo orderInfoGenerate(Long productId,Long userId);

     List<OrderInfo> listDescTimeStamp();

     void ChangeTradeState(String orderNO,String orderState);

     String queryTradeState(String orderNO);

     OrderInfo queryOrder(String orderNO);

     Integer queryOrderTotalFeeByOrderNo(String orderNO);

     List<OrderInfo> getNoPayOrderOvertime(long time);
}
